
namespace shfa.snomtastic.admin.components
{

    public class ActionInfo
    {
        private string _actionName;
        public string ActionName
        {
            get { return _actionName; }
            set { _actionName = value; }
        }

        private string _actionText;
        public string ActionText
        {
            get { return _actionText; }
            set { _actionText = value; }
        }

        private string _actionImage;
        public string ActionImage
        {
            get { return _actionImage; }
            set { _actionImage = value; }
        }

        private string _actionClick;
        public string ActionClick
        {
            get { return _actionClick; }
            set { _actionClick = value; }
        }

        private bool _actionVisible;
        public bool ActionVisible
        {
            get { return _actionVisible; }
            set { _actionVisible = value; }
        }

        private bool _causesValidation;
        public bool CausesValidation
        {
            get { return _causesValidation; }
            set { _causesValidation = value; }
        }



        public ActionInfo(string actionName, string actionText, string actionImage)
        {
            this.ActionName = actionName;
            this.ActionText = actionText;
            this.ActionImage = actionImage;
            this.ActionClick = "";
            this.ActionVisible = true;
            this.CausesValidation = false;
        }

        public ActionInfo(string actionName, string actionText, string actionImage, string actionClick, bool actionVisible)
        {
            this.ActionName = actionName;
            this.ActionText = actionText;
            this.ActionImage = actionImage;
            this.ActionClick = actionClick;
            this.ActionVisible = actionVisible;
            this.CausesValidation = false;
        }

        public ActionInfo(string actionName, string actionText, string actionImage, string actionClick, bool actionVisible, bool causesValidation)
        {
            this.ActionName = actionName;
            this.ActionText = actionText;
            this.ActionImage = actionImage;
            this.ActionClick = actionClick;
            this.ActionVisible = actionVisible;
            this.CausesValidation = causesValidation;
        }


    }
}
